package com.wwtech.epp.ui.activity.work.contract;

import android.content.Intent;

import com.wwtech.epp.db.Friend;
import com.wwtech.epp.entity.ProjectEntity;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.ArrayList;
import java.util.Map;

/**
 * @author hzp
 * @Package The contract for ProjectReportActivity
 * @Description: $description
 * @date 2017/10/04 10:03:43
 */
public interface ProjectReportContract {
    interface View extends BaseView<ProjectReportContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void setPersonData( ArrayList<Friend> partList);
        void setListData(ProjectEntity projectEntity);

        void reportSuccess();
    }

    interface ProjectReportContractPresenter extends BasePresenter {
//        /**
//         *
//         */
//        void getBusinessInfo(Map map);

        void init();

        void onActivityResult(int requestCode, int resultCode, Intent data);

        void getProjectListFromServer();

        void report(String projectId, Map map);
    }
}